package site.marqstree.kotlin.library.base.injection.activity

import android.app.Activity
import dagger.Module
import dagger.Provides


/*
 * 项目名: KotlinMall
 * 包名: site.marqstree.kotlin.baselibrary.injection.module
 * 文件名: ActivityModule
 * 创建者: marqstree
 * 创建时间: 2020/2/20 9:14
 * 描述: activity级别的依赖对象工厂
 */
@Module
class ActivityModule(private val activity:Activity){

    @ActivityScope
    @Provides
    fun provideActivity(): Activity{
        return this.activity
    }
}